package com.mabs.dao;

import java.util.List;

import com.mabs.entity.Person;

public interface PersonDao {
	List<Person> selectAllPersons();

	Person selectPersonById(Long id);

	Person selectPersonByPhone(String phone);

	List<Person> selectPersonByName(String name);

	int insertPerson(Person person);

	int deletePersonById(Long id);

	int updatePerson(Person person);

}
